package com.lening.community.vo;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.lening.community.dto.BuildingDto;
import com.lening.community.pojo.Building;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * @ToDo:
 * @Author：潘万法
 * @date: 2024/6/3 17:06
 */
@NoArgsConstructor
@AllArgsConstructor
@Data
public class BuildingVo extends Building {
    private Long bid;               //楼宇序号
    private Long communityId;       //所属社区 外键
    private String buildingName;    //楼宇名称
//    private Long uid;               //根据这个uid获取单元
    private Long unitCount;         //单元数
    private Long type_id;           //楼宇类型
    private Long buildingStructureId;//建筑结构外键
    private String floorCount;      //层数
    private Long efforId;           //楼宇用途 外键
    private LocalDateTime buildDate;//建成日期
    private LocalDateTime acceptanceDate;//验收日期
    private BigDecimal buildArea;         //建筑面积
    private BigDecimal useArea;           //使用面积
    private Long houseCount;        //总楼房数量
    private String isLocker;          //是否有储物间 前端写
    private Long deleteId;            //1删除   0未删
    private String remarks;        //备注



    private String communityName;   //社区名称
    private String buildingType;   //楼宇类型
    private String buildUse;   //楼宇用途
    private String buildingStructure; //建筑结构

}
